﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SupermarketSalesModel;

namespace SupermarketSalesController
{
    public interface DAOPromotion
    {
        void add(Promotion p);
        void update(Promotion p);
        void delete(int productId);
        List<Promotion> queryAll();
        Promotion queryById(int promotionId);
        int count();
    }
}
